package com.abel.pay.service;

import org.springframework.stereotype.Component;

/**
 * 微信支付
 *
 * @author heyangyang
 * @since 2024-04-23
 */
@Component
public class WechatImpl implements IPay {
    @Override
    public boolean support(String payType) {
        return "wx".equals(payType);
    }

    @Override
    public void handlePay() {
        System.out.println("微信支付了");
    }
}
